<template>
  <VProgressContent :id="id" title="流程编辑"></VProgressContent>
</template>
<script setup lang="ts">
import VProgressContent from './ProgressContent.vue'

import { ref, watch } from 'vue'
import { useRoute } from 'vue-router'

const route = useRoute()
const id = ref()
watch(
  () => route,
  async () => {
    if (route.path == '/OA/ProgressSetting/ProgressUpdate') {
      id.value = route.query.id
    }
  },
  { deep: true, immediate: true }
)
</script>
<style scoped lang="scss"></style>
